<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>11-label标签</title>
</head>
<body>
    <form>
        <label for="name">
            用户名：
        </label>
        <input type="text" maxlength="6" value="请输入用户名" id="name" name="username">
        <br />
        <label for="pwd">
            密码：
        </label>
        <input type="password" name="pwd" id="pwd">
        <br />
        <label for="man">
            男：
        </label>
        <input type="radio" name="sex" value="sex" id="man">
        &nbsp;&nbsp;&nbsp;&nbsp;
        <label for="women">
            女：
        </label>
        <input type="radio" name="sex" value="sex" id="women">
    </form>
</body>
</html>